package com.project.bean;


import java.io.Serializable;

public class InfoBean implements Serializable {

    private Integer id;

    private String name;

    private Integer num;

    private Integer price;

    private String userName;

    private String movieName;

    private String state="未出票";

    private String orderNum;

    public InfoBean() {
    }

    public InfoBean(String name, Integer num, Integer price, String movieName, String orderNum) {
        this.name = name;
        this.num = num;
        this.price = price;
        this.movieName = movieName;
        this.orderNum = orderNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return "InfoBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", price=" + price +
                ", userName='" + userName + '\'' +
                ", movieName='" + movieName + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
